@echo off
set sql_dir=d:\ProgNet\SQL Ce Manager

if "%USERNAME%"=="plukom" (
set sql_dir=c:\harry pliki\SqlCe Manager
)


set base_dir=%cd%\SqlCeManager\bin\Debug
set cur_dir=%CD%
if not exist "%sql_dir%\" MD "%sql_dir%"

%sql_dir:~0,2%
cd "%sql_dir%"
del /Q /F *.dll
del /Q /F *.exe

%base_dir:~0,2%
cd "%base_dir%"

copy "*.dll" "%sql_dir%\" /Y
copy "*.exe" "%sql_dir%\" /Y
%cur_dir:~0,2%
cd "%cur_dir%"
pause
